pango_font_description_to_css: Handle numeric weight
authorMatthias Clasen <mclasen@redhat.com>
Thu, 14 Jul 2022 13:46:05 +0000 (09:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 14 Jul 2022 19:50:06 +0000 (15:50 -0400)
commitf8945b6325c4b0b896aabd123c16096aa01649cf
treedddb761755831a0e86bd21cdab3fbbab33b0806b
parent3c67f6a457ec35f8f6f2014ad76d7241dcb9c182
pango_font_description_to_css: Handle numeric weight

The PangoWeight enum agrees with the numeric values
we use here, so we can do this without a switch and
support numeric weight values at the same time.
gtk/gtkfontbutton.c